package org.lq.sm.view.goods;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.JCheckBox;
import javax.swing.JButton;

public class V_goodsAdd extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_13;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					V_goodsAdd frame = new V_goodsAdd();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public V_goodsAdd() {
		setTitle("商品添加");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 575, 418);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel label = new JLabel("序号:");
		label.setBounds(10, 25, 54, 15);
		contentPane.add(label);
		
		textField = new JTextField();
		textField.setEditable(false);
		textField.setBounds(74, 22, 66, 21);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JLabel label_1 = new JLabel("编 号 :");
		label_1.setBounds(10, 60, 54, 15);
		contentPane.add(label_1);
		
		textField_1 = new JTextField();
		textField_1.setBounds(74, 57, 105, 21);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		JLabel label_2 = new JLabel("名 称 :");
		label_2.setBounds(236, 60, 54, 15);
		contentPane.add(label_2);
		
		textField_2 = new JTextField();
		textField_2.setBounds(300, 57, 95, 21);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel label_3 = new JLabel("拼音简码:");
		label_3.setBounds(236, 89, 54, 15);
		contentPane.add(label_3);
		
		textField_3 = new JTextField();
		textField_3.setBounds(300, 86, 95, 21);
		contentPane.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel label_4 = new JLabel("商品图片:");
		label_4.setBounds(341, 25, 54, 15);
		contentPane.add(label_4);
		
		JLabel lblNewLabel = new JLabel("");
		lblNewLabel.setIcon(new ImageIcon(V_goodsAdd.class.getResource("/images/002.jpg")));
		lblNewLabel.setBounds(425, 22, 124, 102);
		contentPane.add(lblNewLabel);
		
		JLabel label_5 = new JLabel("类 别 :");
		label_5.setBounds(10, 92, 54, 15);
		contentPane.add(label_5);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(74, 88, 105, 23);
		contentPane.add(comboBox);
		
		JLabel label_6 = new JLabel("品 牌 :");
		label_6.setBounds(10, 121, 54, 15);
		contentPane.add(label_6);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(74, 117, 105, 23);
		contentPane.add(comboBox_1);
		
		JLabel label_7 = new JLabel("单 位 :");
		label_7.setBounds(10, 154, 54, 15);
		contentPane.add(label_7);
		
		JComboBox comboBox_1_1 = new JComboBox();
		comboBox_1_1.setBounds(74, 150, 105, 23);
		contentPane.add(comboBox_1_1);
		
		JLabel label_8 = new JLabel("进 价 :");
		label_8.setBounds(236, 121, 54, 15);
		contentPane.add(label_8);
		
		JLabel label_8_1 = new JLabel("售 价 :");
		label_8_1.setBounds(236, 154, 54, 15);
		contentPane.add(label_8_1);
		
		JLabel label_8_2 = new JLabel("批发价 :");
		label_8_2.setBounds(236, 179, 54, 15);
		contentPane.add(label_8_2);
		
		JLabel label_8_3 = new JLabel("成本价 :");
		label_8_3.setBounds(236, 204, 54, 15);
		contentPane.add(label_8_3);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(300, 121, 95, 21);
		contentPane.add(textField_4);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(300, 151, 95, 21);
		contentPane.add(textField_5);
		
		textField_6 = new JTextField();
		textField_6.setColumns(10);
		textField_6.setBounds(300, 176, 95, 21);
		contentPane.add(textField_6);
		
		textField_7 = new JTextField();
		textField_7.setColumns(10);
		textField_7.setBounds(300, 201, 95, 21);
		contentPane.add(textField_7);
		
		JLabel label_9 = new JLabel("库 存 :");
		label_9.setBounds(10, 190, 54, 15);
		contentPane.add(label_9);
		
		textField_8 = new JTextField();
		textField_8.setBounds(74, 187, 105, 21);
		contentPane.add(textField_8);
		textField_8.setColumns(10);
		
		JLabel label_9_1 = new JLabel("最小库存 :");
		label_9_1.setBounds(10, 221, 66, 15);
		contentPane.add(label_9_1);
		
		textField_9 = new JTextField();
		textField_9.setColumns(10);
		textField_9.setBounds(74, 218, 105, 21);
		contentPane.add(textField_9);
		
		JLabel label_9_2 = new JLabel("最大库存 :");
		label_9_2.setBounds(10, 249, 66, 15);
		contentPane.add(label_9_2);
		
		textField_10 = new JTextField();
		textField_10.setColumns(10);
		textField_10.setBounds(74, 246, 105, 21);
		contentPane.add(textField_10);
		
		JLabel label_9_3 = new JLabel("积 分 :");
		label_9_3.setBounds(236, 232, 54, 15);
		contentPane.add(label_9_3);
		
		textField_11 = new JTextField();
		textField_11.setColumns(10);
		textField_11.setBounds(300, 229, 105, 21);
		contentPane.add(textField_11);
		
		JLabel label_9_5 = new JLabel("销售数量 :");
		label_9_5.setBounds(236, 265, 66, 15);
		contentPane.add(label_9_5);
		
		textField_13 = new JTextField();
		textField_13.setColumns(10);
		textField_13.setBounds(300, 262, 105, 21);
		contentPane.add(textField_13);
		
		JCheckBox checkBox = new JCheckBox("是否下架");
		checkBox.setBounds(37, 293, 103, 23);
		contentPane.add(checkBox);
		
		JButton button = new JButton("保存");
		button.setBounds(118, 335, 93, 23);
		contentPane.add(button);
		
		JButton button_1 = new JButton("取消");
		button_1.setBounds(260, 335, 93, 23);
		contentPane.add(button_1);
	}
}
